package com.five.admin.threadLocal;


import com.five.admin.dto.UserThreadLocalDto;

public class UserThreadLocal {
    private static final ThreadLocal<UserThreadLocalDto> userThreadLocal = new ThreadLocal<>();

    public static void set(UserThreadLocalDto adminThreadLocalDto){
        userThreadLocal.set(adminThreadLocalDto);
    }

    public static UserThreadLocalDto get(){
        return userThreadLocal.get();
    }

    public static void remove(){
        userThreadLocal.remove();
    }
}
